﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using System.Diagnostics;

namespace CodeActivities
{

    public class CodeActivitySimple : CodeActivity//ILSPY
    {
        [RequiredArgument]
        public InArgument<Int32> Input { get; set; }//%1
        [RequiredArgument]
        public OutArgument<Int32> Output { get; set; }//%2

      
         protected override void Execute(CodeActivityContext context)
        {
                              
           
                Int32 InputValue = context.GetValue(this.Input);
               
                for (int i = 0; i < 10; i++)
                {
                    InputValue++;
                }
                Output.Set(context, InputValue);
            
          
            return;//?
        }
    }
}
